package com.ms.service.service;

import com.ms.service.dao.UserDao;
import com.ms.service.entity.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserService {

    @Resource
    private UserDao userDao;

    public User getUser(User user) {
        return userDao.getUser(user);
    }

    public boolean insertUser(User user) {
        return userDao.insertUser(user);
    }
}
